瀏覽代碼

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…
取消
儲存