//
//   Copyright 2009-2016 Ilkka Oksanen <iao@iki.fi>
//
//   Licensed under the Apache License, Version 2.0 (the "License");
//   you may not use this file except in compliance with the License.
//   You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
//   Unless required by applicable law or agreed to in writing,
//   software distributed under the License is distributed on an "AS
//   IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
//   express or implied.  See the License for the specific language
//   governing permissions and limitations under the License.
//

'use strict';

const Model = require('./model');

module.exports = class ConversationMember extends Model {};

@@ -674,16 +674,54 @@
 /model')
+,%0A      UserGId = require('./userGId')
 ;%0A%0Amodul
@@ -772,11 +772,158 @@
  Model %7B
+%0A    get gId() %7B%0A        if (!this._gId) %7B%0A            this._gId = UserGId.create(this.get('userGId'));%0A        %7D%0A%0A        return this._gId;%0A    %7D%0A
 %7D;%0A

Add gid helper to conversationMember model