mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 18:26:21 +00:00
auto-format
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -298,11 +298,11 @@ chatwin_incoming_msg(ProfChatWin* chatwin, ProfMessage* message, gboolean win_cr
|
||||
|
||||
chatwin->unread++;
|
||||
|
||||
//TODO: so far we don't ask for MAM when incoming message occurs.
|
||||
//Need to figure out:
|
||||
//1) only send IQ once
|
||||
//2) sort incoming messages on timestamp
|
||||
//for now if experimental MAM is enabled we dont show no history from sql either
|
||||
// TODO: so far we don't ask for MAM when incoming message occurs.
|
||||
// Need to figure out:
|
||||
// 1) only send IQ once
|
||||
// 2) sort incoming messages on timestamp
|
||||
// for now if experimental MAM is enabled we dont show no history from sql either
|
||||
|
||||
// MUCPMs also get printed here. In their case we don't save any logs (because nick owners can change) and thus we shouldn't read logs
|
||||
// (and if we do we need to check the resourcepart)
|
||||
|
||||
@@ -2159,8 +2159,8 @@ cons_executable_setting(void)
|
||||
cons_show("Default '/avatar open' command (/executable avatar) : %s", avatar);
|
||||
g_free(avatar);
|
||||
|
||||
//TODO: there needs to be a way to get all the "locales"/schemes so we can
|
||||
//display the default openers for all filetypes
|
||||
// TODO: there needs to be a way to get all the "locales"/schemes so we can
|
||||
// display the default openers for all filetypes
|
||||
gchar* urlopen = prefs_get_string(PREF_URL_OPEN_CMD);
|
||||
cons_show("Default '/url open' command (/executable urlopen) : %s", urlopen);
|
||||
g_free(urlopen);
|
||||
|
||||
@@ -234,10 +234,10 @@ notify(const char* const message, int timeout, const char* const category)
|
||||
NOTIFYICONDATA nid;
|
||||
memset(&nid, 0, sizeof(nid));
|
||||
nid.cbSize = sizeof(NOTIFYICONDATA);
|
||||
//nid.hWnd = hWnd;
|
||||
// nid.hWnd = hWnd;
|
||||
nid.uID = 100;
|
||||
nid.uVersion = NOTIFYICON_VERSION;
|
||||
//nid.uCallbackMessage = WM_MYMESSAGE;
|
||||
// nid.uCallbackMessage = WM_MYMESSAGE;
|
||||
nid.hIcon = LoadIcon(NULL, IDI_APPLICATION);
|
||||
strcpy(nid.szTip, "Tray Icon");
|
||||
nid.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP;
|
||||
|
||||
@@ -46,8 +46,8 @@
|
||||
static void
|
||||
_occuptantswin_occupant(ProfLayoutSplit* layout, GList* item, gboolean showjid, gboolean isoffline)
|
||||
{
|
||||
int colour = 0; //init to workaround compiler warning
|
||||
theme_item_t presence_colour = THEME_ROSTER_ONLINE; //init to workaround compiler warning
|
||||
int colour = 0; // init to workaround compiler warning
|
||||
theme_item_t presence_colour = THEME_ROSTER_ONLINE; // init to workaround compiler warning
|
||||
Occupant* occupant = item->data;
|
||||
|
||||
if (isoffline) {
|
||||
|
||||
@@ -1439,7 +1439,7 @@ win_print_outgoing_with_receipt(ProfWin* window, const char* show_char, const ch
|
||||
const char* myjid = connection_get_fulljid();
|
||||
if (replace_id) {
|
||||
_win_correct(window, message, id, replace_id, myjid);
|
||||
free(receipt); //TODO: probably we should use this in _win_correct()
|
||||
free(receipt); // TODO: probably we should use this in _win_correct()
|
||||
} else {
|
||||
buffer_append(window->layout->buffer, show_char, 0, time, 0, THEME_TEXT_ME, from, myjid, message, receipt, id);
|
||||
_win_print_internal(window, show_char, 0, time, 0, THEME_TEXT_ME, from, message, receipt);
|
||||
|
||||
Reference in New Issue
Block a user