forked from mirrors/linphone-iphone
Tentative fix for random crash forwarding a message
This commit is contained in:
parent
a6b7182bd0
commit
9655948f35
2 changed files with 2 additions and 2 deletions
|
|
@ -2207,7 +2207,7 @@ void on_shared_player_eof_reached(LinphonePlayer *p) {
|
|||
onCancelClick:^() {}
|
||||
onConfirmationClick:^() {
|
||||
linphone_chat_message_send(linphone_chat_room_create_forward_message(_chatRoom, message));
|
||||
|
||||
linphone_chat_message_unref(message);
|
||||
}];
|
||||
d.forwardImage.hidden = NO;
|
||||
[d setSpecialColor];
|
||||
|
|
|
|||
|
|
@ -883,7 +883,7 @@ static const CGFloat REPLY_OR_FORWARD_TAG_HEIGHT = 18;
|
|||
[_messageActionsIcons addObject:@"menu_forward_default"];
|
||||
[_messageActionsBlocks addObject:^{
|
||||
[thiz dismissPopup];
|
||||
VIEW(ChatConversationView).pendingForwardMessage = message;
|
||||
VIEW(ChatConversationView).pendingForwardMessage = linphone_chat_message_ref(message);
|
||||
[PhoneMainView.instance changeCurrentView:VIEW(ChatsListView).compositeViewDescription];
|
||||
}];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue