use of org.olat.instantMessaging.InstantMessageNotification in project openolat by klemens.
the class InstantMessagingMainController method loadNotifications.
private void loadNotifications() {
List<InstantMessageNotification> notifications = imService.getNotifications(getIdentity());
for (InstantMessageNotification notification : notifications) {
if (!showNewMessageHolder.contains(notification.getFromIdentityKey())) {
showNewMessageHolder.add(notification.getFromIdentityKey());
Buddy buddy = imService.getBuddyById(notification.getFromIdentityKey());
createShowNewMessageLink(buddy);
}
}
}
use of org.olat.instantMessaging.InstantMessageNotification in project OpenOLAT by OpenOLAT.
the class InstantMessagingMainController method loadNotifications.
private void loadNotifications() {
List<InstantMessageNotification> notifications = imService.getNotifications(getIdentity());
for (InstantMessageNotification notification : notifications) {
if (!showNewMessageHolder.contains(notification.getFromIdentityKey())) {
showNewMessageHolder.add(notification.getFromIdentityKey());
Buddy buddy = imService.getBuddyById(notification.getFromIdentityKey());
createShowNewMessageLink(buddy);
}
}
}
Aggregations