Detect and label changes from ourself
authorShane Synan <digitalcircuit36939@gmail.com>
Sat, 3 Dec 2016 03:06:41 +0000 (21:06 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 12 Apr 2017 20:51:19 +0000 (22:51 +0200)
commit707cd1f21f655c34a5c2b77b02832f283cb80f71
tree02e66db6a38054442636239969bec01edd01462b
parente3a91437981155e3657284cbd850c22c6522817b
Detect and label changes from ourself

On the core, detect when changes apply to our own nick and flag the
message as Self.

On the client, work around old nick change messages lacking the Self
flag.  Working around the other messages would be more difficult.

This fixes nick change styling not correctly applying for
"sender=self" in themes.
src/core/coresessioneventprocessor.cpp
src/core/coresessioneventprocessor.h
src/core/coreuserinputhandler.cpp
src/core/eventstringifier.cpp
src/qtui/chatlinemodelitem.cpp