aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-05-28 01:52:12 +0200
committerfiaxh <git@lightrise.org>2020-06-03 21:50:40 +0200
commita9e6a9c3d58002810757f1e3f4fc9c9488b48fc4 (patch)
tree90dc67f65bbf48c3c6ddef72d5c623a91f657a5e /libdino/src/service
parentd01af5b520d112b00e4c18b16657f89d5afe7ad4 (diff)
downloaddino-a9e6a9c3d58002810757f1e3f4fc9c9488b48fc4.tar.gz
dino-a9e6a9c3d58002810757f1e3f4fc9c9488b48fc4.zip
Code cleanup
Diffstat (limited to 'libdino/src/service')
-rw-r--r--libdino/src/service/message_storage.vala10
1 files changed, 0 insertions, 10 deletions
diff --git a/libdino/src/service/message_storage.vala b/libdino/src/service/message_storage.vala
index 4dbc05a7..7bf03b08 100644
--- a/libdino/src/service/message_storage.vala
+++ b/libdino/src/service/message_storage.vala
@@ -108,16 +108,6 @@ public class MessageStorage : StreamInteractionModule, Object {
return null;
}
- public Conversation? get_conversation_for_stanza_id(Account account, string stanza_id) {
- foreach (Conversation conversation in messages.keys) {
- if (!conversation.account.equals(account)) continue;
- foreach (Message message in messages[conversation]) {
- if (message.stanza_id == stanza_id) return conversation;
- }
- }
- return null;
- }
-
private void init_conversation(Conversation conversation) {
if (!messages.has_key(conversation)) {
messages[conversation] = new Gee.TreeSet<Message>((a, b) => {