mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* fix for RAK terminal chat
This commit is contained in:
parent
6d5e69ae04
commit
42af720b02
3 changed files with 4 additions and 4 deletions
|
|
@ -267,7 +267,7 @@ bool BaseChatMesh::addContact(const ContactInfo& contact) {
|
|||
}
|
||||
|
||||
mesh::GroupChannel* BaseChatMesh::addChannel(const char* psk_base64) {
|
||||
if (num_channels < MAX_CHANNELS) {
|
||||
if (num_channels < MAX_GROUP_CHANNELS) {
|
||||
auto dest = &channels[num_channels];
|
||||
|
||||
memset(dest->secret, 0, sizeof(dest->secret));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue