planetar/bibbiGram

persistence of config data: chatId_debug is forgotten after reboot

Closed this issue · 1 comments

this issue is with v 0.07.2
there have been changes in the near of it: mTypes.h had a field nada that had no other purpose than to shield the following field (chatId_debug) from any interference coming from the botId - field.
I found a bug concerning the length of field botId (50 instead of 46)
I inserted a number of code lines to check field contents after start/read and insert defaults or ""

The bug is not a showstopper - there still is the main group _alarm - but it clearly hurts

I identified the line of code where the content of the chatId_debug was cleared and reintroduced the prev. workaround of a field nada in mTypes.h which isolates the 2 fields.