buffer: Add the session id to the line tags.
This commit is contained in:
parent
b9e60d6ecf
commit
47e71ce925
1 changed files with 4 additions and 0 deletions
|
@ -1083,6 +1083,10 @@ class RoomBuffer(object):
|
|||
tags = [SCRIPT_NAME + "_id_{}".format(event.event_id)]
|
||||
if event.sender_key:
|
||||
tags.append(SCRIPT_NAME + "_senderkey_{}".format(event.sender_key))
|
||||
if event.session_id:
|
||||
tags.append(SCRIPT_NAME + "_session_id_{}".format(
|
||||
event.session_id
|
||||
))
|
||||
|
||||
return tags
|
||||
|
||||
|
|
Loading…
Reference in a new issue