buffer lines in private messages should be stored against the sender
This commit is contained in:
parent
8b796c159f
commit
ae3e2708c0
1 changed files with 6 additions and 1 deletions
|
@ -97,5 +97,10 @@ def message(events, event):
|
||||||
event["tags"], from_self)
|
event["tags"], from_self)
|
||||||
else:
|
else:
|
||||||
hook.call(**kwargs)
|
hook.call(**kwargs)
|
||||||
target_obj.buffer.add_message(user.nickname, message, action,
|
|
||||||
|
buffer_obj = target_obj
|
||||||
|
if event["server"].is_own_nickname(user.nickname):
|
||||||
|
buffer_obj = user
|
||||||
|
|
||||||
|
buffer_obj.buffer.add_message(user.nickname, message, action,
|
||||||
event["tags"], True)
|
event["tags"], True)
|
||||||
|
|
Loading…
Reference in a new issue