use of org.olat.instantMessaging.OpenInstantMessageEvent in project OpenOLAT by OpenOLAT.
the class GroupController method doIm.
private void doIm(UserRequest ureq, Identity identity) {
Buddy buddy = imService.getBuddyById(identity.getKey());
OpenInstantMessageEvent e = new OpenInstantMessageEvent(ureq, buddy);
ureq.getUserSession().getSingleUserEventCenter().fireEventToListenersOf(e, InstantMessagingService.TOWER_EVENT_ORES);
}
use of org.olat.instantMessaging.OpenInstantMessageEvent in project OpenOLAT by OpenOLAT.
the class GroupController method doIm.
private void doIm(UserRequest ureq, Identity identity) {
Buddy buddy = imService.getBuddyById(identity.getKey());
OpenInstantMessageEvent e = new OpenInstantMessageEvent(ureq, buddy);
ureq.getUserSession().getSingleUserEventCenter().fireEventToListenersOf(e, InstantMessagingService.TOWER_EVENT_ORES);
}
use of org.olat.instantMessaging.OpenInstantMessageEvent in project openolat by klemens.
the class GroupController method doIm.
private void doIm(UserRequest ureq, Identity identity) {
Buddy buddy = imService.getBuddyById(identity.getKey());
OpenInstantMessageEvent e = new OpenInstantMessageEvent(ureq, buddy);
ureq.getUserSession().getSingleUserEventCenter().fireEventToListenersOf(e, InstantMessagingService.TOWER_EVENT_ORES);
}
use of org.olat.instantMessaging.OpenInstantMessageEvent in project openolat by klemens.
the class MembersAvatarDisplayRunController method doOpenChat.
private void doOpenChat(Member member, UserRequest ureq) {
Buddy buddy = imService.getBuddyById(member.getKey());
OpenInstantMessageEvent e = new OpenInstantMessageEvent(ureq, buddy);
ureq.getUserSession().getSingleUserEventCenter().fireEventToListenersOf(e, InstantMessagingService.TOWER_EVENT_ORES);
}
use of org.olat.instantMessaging.OpenInstantMessageEvent in project openolat by klemens.
the class MembersTableController method doOpenChat.
private void doOpenChat(MemberView member, UserRequest ureq) {
Buddy buddy = imService.getBuddyById(member.getIdentityKey());
OpenInstantMessageEvent e = new OpenInstantMessageEvent(ureq, buddy);
ureq.getUserSession().getSingleUserEventCenter().fireEventToListenersOf(e, InstantMessagingService.TOWER_EVENT_ORES);
}
Aggregations