1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00
Michael Vetter b3ed213668 Improve MUC 1:1 logging
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
2019-10-07 00:05:37 +02:00
2018-01-21 15:00:02 +00:00
2016-03-09 12:55:57 +01:00
2019-10-07 00:05:37 +02:00
2019-09-25 19:02:19 +02:00
2016-08-02 23:17:28 +01:00
2019-07-18 09:07:57 +02:00
2019-09-24 12:37:00 +02:00
2016-02-24 00:31:55 +00:00
2019-07-23 09:25:17 +02:00
2012-02-20 20:07:38 +00:00
2019-04-24 01:08:38 +02:00
2019-07-11 14:25:42 +02:00
2019-09-30 19:17:07 +02:00
2014-06-29 22:58:33 +01:00
2019-05-03 10:59:39 +02:00
2019-07-18 07:57:30 +02:00

Profanity Build Status

Profanity is a console based XMPP client inspired by Irssi,

alt tag

See the User Guide for information on installing and using Profanity.

Homepage: https://profanity-im.github.io/

Mailing List: https://groups.google.com/forum/#!forum/profanitydev

MUC: profanity@rooms.dismail.de

Plugins repository: https://github.com/profanity-im/profanity-plugins

Description
No description provided
Readme 24 MiB
Languages
C 97.4%
Python 1.4%
Makefile 0.6%
M4 0.5%
Shell 0.1%