Fixed interferention with homie $ contained topics

This commit is contained in:
2022-02-17 02:04:16 +03:00
parent d207ef23d3
commit 782d353478
3 changed files with 4 additions and 2 deletions

View File

@@ -429,7 +429,8 @@ else
cmd_parse((char *)payload);
return;// -4;
}
if (itemName[0]=='$') return;// -6; //Skipping homie stuff
//if (itemName[0]=='$') return;// -6; //Skipping homie stuff
if (strrchr(topic,'$')) return;
Item item(itemName);
if (item.isValid() && (item.Ctrl((char *)payload)>0) && savedTopic[0] && lanStatus != RETAINING_COLLECTING)