summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-05-11 21:43:45 +0200
committermathieui <mathieui@mathieui.net>2013-05-11 21:43:45 +0200
commit7f1562c4c2d9481e6020322c1781c72cce74d38d (patch)
tree4cf14c4022141556f1561421604f7e8a37e12e15 /src/windows.py
parenta1ef835a37f1d1dd4fb861ba4cc3919941bfb6e4 (diff)
downloadpoezio-7f1562c4c2d9481e6020322c1781c72cce74d38d.tar.gz
poezio-7f1562c4c2d9481e6020322c1781c72cce74d38d.tar.bz2
poezio-7f1562c4c2d9481e6020322c1781c72cce74d38d.tar.xz
poezio-7f1562c4c2d9481e6020322c1781c72cce74d38d.zip
Actually use it.
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/windows.py b/src/windows.py
index 0040ee0c..e5cd4045 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -20,6 +20,7 @@ log = logging.getLogger(__name__)
import curses
import string
+from datetime import datetime
from math import ceil, log10
from config import config
@@ -1856,6 +1857,7 @@ class RosterWin(Win):
if not contact.folded(group.name):
for resource in contact.get_resources():
self.roster_cache.append(resource)
+ roster.last_built = datetime.now()
def refresh(self, roster):
"""