mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-05-30 01:29:56 +02:00
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:
parent
7650efbc0c
commit
a3d27ada84
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user