Adapt win_print_history() to work with muc too

This commit is contained in:
Michael Vetter
2020-04-06 15:21:45 +02:00
parent 0942d98c61
commit 067bc690f2
5 changed files with 27 additions and 24 deletions

View File

@@ -126,6 +126,7 @@ typedef enum {
PROF_MSG_ENC_OMEMO
} prof_enc_t;
// TODO: ProfMessage needs a 'type' field like we have in sql db. then we can know whether each message is a chat, muc, mucpm
typedef struct prof_message_t {
Jid *jid;
char *id;