diff options
author | mjentsch <mtthsjntsch@gmail.com> | 2015-01-28 20:41:41 +0300 |
---|---|---|
committer | mjentsch <mtthsjntsch@gmail.com> | 2015-01-28 20:41:41 +0300 |
commit | c85b8da619866bbeadc19aa98bf0d6f30889d6da (patch) | |
tree | 51bb744336d986e0aa251e80ffc4651c90a53abc /tgp-utils.h | |
parent | 2ec44834fc812b80dce9a0e08b49b7b75d436e92 (diff) |
Do not add group chats in which the user is not a member
Clean up and refactor group chat code, move chat functions into separate file, always load all chat infos on plugin load so we know the members.
Diffstat (limited to 'tgp-utils.h')
-rw-r--r-- | tgp-utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tgp-utils.h b/tgp-utils.h index 894e1b2..21c3191 100644 --- a/tgp-utils.h +++ b/tgp-utils.h @@ -20,11 +20,14 @@ #ifndef __telegram_adium__tgp_util__ #define __telegram_adium__tgp_util__ +#include "tgp-structs.h" + #include <stdio.h> #include <time.h> #include <tgl.h> #include <glib.h> +connection_data *get_conn_from_buddy (PurpleBuddy *buddy); tgl_peer_t *tgp_encr_chat_get_partner (struct tgl_state *TLS, struct tgl_secret_chat *chat); tgl_peer_t *find_peer_by_name (struct tgl_state *TLS, const char *who); |