Skip to content

Instantly share code, notes, and snippets.

View GrahamLinagora's full-sized avatar

Graham Crosmarie GrahamLinagora

  • Linagora
  • Toulouse
View GitHub Profile
@GrahamLinagora
GrahamLinagora / awesome-chat services.js
Created August 24, 2015 08:30
2 users with history patch
'use strict';
angular.module('esn.chat')
.factory('ChatMessage', function() {
function ChatMessage(object) {
this.author = object.author;
this.authorAvatar = object.authorAvatar;
this.published = object.published;
this.message = object.message;
this.displayName = object.displayName;
}