2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-31 14:05:10 +00:00

Prevent some bitlbee crashes

This commit is contained in:
Arseniy Lartsev
2020-08-27 20:42:57 +02:00
parent 23a14aa586
commit fbd1c548a5
2 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ void updatePrivateChat(TdAccountData &account, const td::td_api::chat *chat, con
PurpleConversation *oldConv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, displayName.c_str(),
account.purpleAccount);
if (oldConv) {
purple_conv_im_write(purple_conversation_get_im_data(oldConv), nullptr,
purple_conv_im_write(purple_conversation_get_im_data(oldConv), "",
// TRANSLATOR: In-chat status update
_("Future messages in this conversation will be shown in a different tab"),
PURPLE_MESSAGE_SYSTEM, time(NULL));