diff options
author | Marvin W <git@larma.de> | 2019-12-23 23:13:27 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2019-12-23 23:13:27 +0100 |
commit | cf1c7d3af2ce6324b93f95d68fcffaebcc4a2603 (patch) | |
tree | 33b16678e0f64c980b49daf8a98d489bb0970df4 /libdino/src/service/chat_interaction.vala | |
parent | 4185da3b99cfdfba331a2cc0b6bdbd1bed63845e (diff) | |
download | dino-cf1c7d3af2ce6324b93f95d68fcffaebcc4a2603.tar.gz dino-cf1c7d3af2ce6324b93f95d68fcffaebcc4a2603.zip |
Display correct name on outgoing file transfers in groups
Fixes #248, #643
Diffstat (limited to 'libdino/src/service/chat_interaction.vala')
-rw-r--r-- | libdino/src/service/chat_interaction.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdino/src/service/chat_interaction.vala b/libdino/src/service/chat_interaction.vala index 566eac7e..4ec8e243 100644 --- a/libdino/src/service/chat_interaction.vala +++ b/libdino/src/service/chat_interaction.vala @@ -56,6 +56,7 @@ public class ChatInteraction : StreamInteractionModule, Object { if (file_transfer.provider == 0) { // HTTP file transfer: Check if the associated message is the last one + if (file_transfer.info == null) return false; Message? message = stream_interactor.get_module(MessageStorage.IDENTITY).get_message_by_id(int.parse(file_transfer.info), conversation); if (message == null) return false; if (message.equals(conversation.read_up_to)) return false; |