turms icon indicating copy to clipboard operation
turms copied to clipboard

when recallMessage() call, target side messageListener addition.recalledMessageIds is empty

Open weishirongzhen opened this issue 1 year ago • 0 comments

when doing a recall.

client.messageService.recallMessage(
              message.id.toInt64(),
              recallDate: DateTime.now().subtract(const Duration(seconds: 60)),
            );

target side will receive a message, sent by system and marked as system message: image

but target side listener addition.recalledMessageIds is still empty.

client.messageService.addMessageListener((message, addition) async {
///expect addition.recalledMessageIds.isNotEmpty

 if (addition.recalledMessageIds.isNotEmpty) {
      
  } else {
      
  }

}

and if user is offline, when online, pull historymessages, how to know which message I recall? there is no date recored message 883077230151049216 is related to which recall message id.

weishirongzhen avatar Aug 29 '23 08:08 weishirongzhen