Convert null strings to empty strings
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 30 Sep 2010 07:25:39 +0000 (09:25 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 13 Oct 2010 23:06:32 +0000 (01:06 +0200)
commitbf10e3ead6e50f90c6bb34074e39b938f9d35bc3
tree6bf16bd2a68dc23691eaf3c669fa0a92e3e833c0
parentf86267b88039f7979cc8fe6dac8c1ec380c236be
Convert null strings to empty strings

The storage backend bails out when we hand over null strings, so convert those
to empty strings instead when transforming a MessageEvent into a Message. Null
strings are nicer to use and more efficient, so don't force people to avoid them
in the event handlers.
src/core/coresession.cpp