This fixes the overflowing issues, the broken styling of the topic edit input box, and makes it somewhat more responsive. Fixes: #1270.
(imported from commit f2093939fa8069b73e7c785a4dd835eab4c825cd)
(imported from commit be7649c0116bbfd31ef94fa78e573732b23d632a)
This change would allow anyone in the realm to set a topic for a "no topic" message. As soon as the message topic is set, only the sender can change it again. (imported from commit 0a91a93b8fd14549965cedc79f45ffd869d82307)