diff cagou/plugins/plugin_wid_chat.kv @ 367:abb57182ebfb

chat: prepend nick to message input when occupant avatar is touched on group chat.
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 21:17:08 +0100
parents aa860c10acfc
children e2f806779b53
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.kv	Mon Jan 27 21:17:08 2020 +0100
+++ b/cagou/plugins/plugin_wid_chat.kv	Mon Jan 27 21:17:08 2020 +0100
@@ -58,6 +58,7 @@
         MessAvatar:
             id: avatar
             source: (root.mess_data.avatar or '') if root.mess_data else ''
+            on_press: root.chat.addNick(root.nick)
         Widget:
             # use to push the avatar on the top
             size_hint: 1, 1