Created
January 17, 2017 04:56
-
-
Save wfr/e174692fda79703177e2abcde5056bc7 to your computer and use it in GitHub Desktop.
ricochet-send-duplicates.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/ConversationModel.cpp b/src/core/ConversationModel.cpp | |
index 06969f7..fedccbb 100644 | |
--- a/src/core/ConversationModel.cpp | |
+++ b/src/core/ConversationModel.cpp | |
@@ -111,6 +111,9 @@ void ConversationModel::sendMessage(const QString &text) | |
message.status = Error; | |
message.identifier = id; | |
message.attemptCount++; | |
+ | |
+ // DEBUGGING ONLY: send identical message twice to test issue #515 | |
+ channel->sendChatMessageWithId(text, QDateTime(), id); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment