about summary refs log tree commit diff stats
path: root/src/xmpp/message.h
Commit message (Collapse)AuthorAgeFilesLines
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Move ProfMessage and message_is_sent_by_us to xmppMichael Vetter2019-10-191-23/+0
| | | | Not meant for internal usage only.
* Move message sent by us logic in own functionMichael Vetter2019-10-181-0/+1
|
* Improve MUC 1:1 loggingMichael Vetter2019-10-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we get a private message from a user in a MUC profanity shows this like: `profanity@roomsASDF.dismail.de/Martin: Hi` This was so far logged at: `~/.local/share/profanity/chatlogs/my-account-at-server/profanity_at_rooms.dismail.de/2019_09_04.log` as: ``` 10:48:13 - profanity@rooms.dismail.de: Hi ``` So the nickname was not saved anywhere. This is due to us not knowing whether we got a regular message from user@server.org/resource or a MUC PM from room@server.org/user. We now check for `<x xmlns='http://jabber.org/protocol/muc#user' />` and add the resourcepart to the logging if we get it. The file will be created at `~/.local/share/profanity/chatlogs/my-account-at-server/profanity_at_rooms.dismail.de_nick` and look like: ``` 23:59:43 - nick: Hi ``` Fix https://github.com/profanity-im/profanity/issues/1184
* Rename prof_message_t into ProfMessagePaul Fariello2019-06-201-4/+4
|
* Add prof_message_t to wrap all message attributesPaul Fariello2019-06-201-4/+24
| | | | | | | Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all.
* Use flags in xmmp/message.c for encryption and trustPaul Fariello2019-06-201-0/+5
|
* Call message_handlers_clear() upon disconnectMichael Vetter2019-06-201-0/+1
| | | | Free pubsub_event_handlers. Fix memory leaks.
* Add pubsub event callbackPaul Fariello2019-04-101-0/+4
| | | | Also add generic message callback struct
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Rename stanza handler init functionsJames Booth2016-05-021-1/+1
|
* Updated copyrightJames Booth2016-02-141-1/+1
|
* Updated copyrightJames Booth2015-02-101-1/+1
|
* Added license exemption for OpenSSL to source headersJames Booth2014-08-241-0/+12
|
* Updated copyrightJames Booth2014-03-091-1/+1
|
* Added simple mock test, refactored rosterJames Booth2013-12-141-2/+2
|
* Removed message handler function from xmpp.hJames Booth2013-02-021-0/+28