Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjentsch <mtthsjntsch@gmail.com>2015-01-28 20:41:41 +0300
committermjentsch <mtthsjntsch@gmail.com>2015-01-28 20:41:41 +0300
commitc85b8da619866bbeadc19aa98bf0d6f30889d6da (patch)
tree51bb744336d986e0aa251e80ffc4651c90a53abc /tgp-utils.h
parent2ec44834fc812b80dce9a0e08b49b7b75d436e92 (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.h3
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);