Преглед на файлове

Fix non refreshing away colours.

pull/133/head
Greg Holmes преди 9 години
родител
ревизия
ba5a7203ce
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6
    0
      awaycolours/src/com/dmdirc/addons/awaycolours/AwayColoursManager.java

+ 6
- 0
awaycolours/src/com/dmdirc/addons/awaycolours/AwayColoursManager.java Целия файл

@@ -93,6 +93,9 @@ public class AwayColoursManager {
93 93
         if (text) {
94 94
             event.getUser().getMap().put(ChannelClientProperty.TEXT_FOREGROUND, colour);
95 95
         }
96
+        if (nicklist || text) {
97
+            event.getChannel().refreshClients();
98
+        }
96 99
     }
97 100
 
98 101
     @Handler
@@ -103,5 +106,8 @@ public class AwayColoursManager {
103 106
         if (text) {
104 107
             event.getUser().getMap().remove(ChannelClientProperty.TEXT_FOREGROUND);
105 108
         }
109
+        if (nicklist || text) {
110
+            event.getChannel().refreshClients();
111
+        }
106 112
     }
107 113
 }

Loading…
Отказ
Запис