1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-15 19:06:42 +02:00

Significantly reduce time before trying to re-send a message with no read receipt

(also some formatting cleanup)
This commit is contained in:
jfreegman
2018-03-03 23:54:12 -05:00
parent 3917f664bf
commit 815c29ee31
6 changed files with 21 additions and 14 deletions

View File

@@ -133,7 +133,8 @@ DeviceError terminate_devices()
return (DeviceError) de_None;
}
void get_devices_names() {
void get_devices_names()
{
const char *stringed_device_list;
@@ -487,7 +488,8 @@ void print_devices(ToxWindow *self, DeviceType type)
int i;
for (i = 0; i < size[type]; ++i) {
line_info_add(self, NULL, NULL, NULL, SYS_MSG, i == primary_device[type] ? 1 : 0, 0, "%d: %s", i, devices_names[type][i]);
line_info_add(self, NULL, NULL, NULL, SYS_MSG, i == primary_device[type] ? 1 : 0, 0, "%d: %s", i,
devices_names[type][i]);
}
return;