properly updated channel for incoming 42 message

Otherwise it was going to wrong/new room if it was a reply.
This commit is contained in:
Vishal 2022-09-15 21:30:14 +05:30
parent 7650efbc0c
commit a3d27ada84

View File

@ -854,7 +854,7 @@ class Store {
case 42:
newTree.event.eventData.isNotification = true; // highlight it too in next printing
// add 42 chat message event id to its chat room
String channelId = newTree.event.eventData.getParent();
String channelId = newTree.event.eventData.getChannelIdForMessage();
if( channelId != "") {
Channel? channel = getChannel(channels, channelId);
if( channel != null) {