dont sync messages we dont know enough about

This commit is contained in:
Green Sky 2024-02-29 20:52:47 +01:00
parent 592a4cb9cf
commit 0e0e81720b
No known key found for this signature in database

View File

@ -120,7 +120,8 @@ ToxFriendFauxOfflineMessaging::dfmc_Ret ToxFriendFauxOfflineMessaging::doFriendM
// require
if (!mr->all_of<
Message::Components::MessageText, // text only for now
Message::Components::ContactTo
Message::Components::ContactTo,
Message::Components::ToxFriendMessageID // yes, needs fake ids
>(msg)
) {
continue; // skip