mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-06-05 04:29:24 +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:
|
case 42:
|
||||||
newTree.event.eventData.isNotification = true; // highlight it too in next printing
|
newTree.event.eventData.isNotification = true; // highlight it too in next printing
|
||||||
// add 42 chat message event id to its chat room
|
// add 42 chat message event id to its chat room
|
||||||
String channelId = newTree.event.eventData.getParent();
|
String channelId = newTree.event.eventData.getChannelIdForMessage();
|
||||||
if( channelId != "") {
|
if( channelId != "") {
|
||||||
Channel? channel = getChannel(channels, channelId);
|
Channel? channel = getChannel(channels, channelId);
|
||||||
if( channel != null) {
|
if( channel != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user