Search in sources :

Example 1 with ChatLogHelper

use of org.olat.instantMessaging.manager.ChatLogHelper in project OpenOLAT by OpenOLAT.

the class ChatToolController method downloadChatLog.

private void downloadChatLog(UserRequest ureq) {
    ChatLogHelper helper = CoreSpringFactory.getImpl(ChatLogHelper.class);
    MediaResource download = helper.logMediaResource(resource, getLocale());
    ureq.getDispatchResult().setResultingMediaResource(download);
}
Also used : ChatLogHelper(org.olat.instantMessaging.manager.ChatLogHelper) MediaResource(org.olat.core.gui.media.MediaResource)

Example 2 with ChatLogHelper

use of org.olat.instantMessaging.manager.ChatLogHelper in project openolat by klemens.

the class ChatToolController method downloadChatLog.

private void downloadChatLog(UserRequest ureq) {
    ChatLogHelper helper = CoreSpringFactory.getImpl(ChatLogHelper.class);
    MediaResource download = helper.logMediaResource(resource, getLocale());
    ureq.getDispatchResult().setResultingMediaResource(download);
}
Also used : ChatLogHelper(org.olat.instantMessaging.manager.ChatLogHelper) MediaResource(org.olat.core.gui.media.MediaResource)

Aggregations

MediaResource (org.olat.core.gui.media.MediaResource)2 ChatLogHelper (org.olat.instantMessaging.manager.ChatLogHelper)2