libpurple/resources/conversationmanager/statements/delete-properties.sql

Sun, 10 Aug 2025 23:44:08 +0800

author
Gong Zhile <gongzl@stu.hebust.edu.cn>
date
Sun, 10 Aug 2025 23:44:08 +0800
branch
purple_conversation_find_message_by_id
changeset 43309
099e1dfb856b
parent 43289
b39dbed64dc0
permissions
-rw-r--r--

Add Purple.Conversation.find_message_by_id

The method was added so that a protocol or plugin could easily lookup
for the reference for a message. This will be especially useful when a
protocol received a quoted message but only with an id.

43289
b39dbed64dc0 Delete conversations from the database when the user leaves them
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 DELETE FROM conversations
b39dbed64dc0 Delete conversations from the database when the user leaves them
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2 WHERE
b39dbed64dc0 Delete conversations from the database when the user leaves them
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3 conversation_id = :conversation_id
b39dbed64dc0 Delete conversations from the database when the user leaves them
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 AND
b39dbed64dc0 Delete conversations from the database when the user leaves them
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5 account_id = :account_id

mercurial