Fix runtime critical
This commit is contained in:
parent
6325a98cff
commit
7b58c1596a
|
@ -146,8 +146,10 @@ public class MessageCorrection : StreamInteractionModule, MessageListener {
|
|||
|
||||
private void on_received_correction(Conversation conversation, int message_id) {
|
||||
ContentItem? content_item = stream_interactor.get_module(ContentItemStore.IDENTITY).get_item(conversation, 1, message_id);
|
||||
if (content_item != null) {
|
||||
received_correction(content_item);
|
||||
}
|
||||
}
|
||||
|
||||
private int get_latest_correction_message_id(int account_id, string stanza_id, int counterpart_jid_id, string? counterpart_resource) {
|
||||
var qry = db.message_correction.select({db.message.id})
|
||||
|
|
Loading…
Reference in a new issue