Send received message through WebSocket
- send received message from through WebSocket
- remove SocketIO from client
GitLab: #96
Change-Id: I7a8eec04010f0773428f914792c13decef393ebf
diff --git a/common/src/interfaces/account-text-message.ts b/common/src/interfaces/account-text-message.ts
index 832762f..68eea24 100644
--- a/common/src/interfaces/account-text-message.ts
+++ b/common/src/interfaces/account-text-message.ts
@@ -15,10 +15,8 @@
* License along with this program. If not, see
* <https://www.gnu.org/licenses/>.
*/
-import { WebRTCIceCandidate } from './webrtc-ice-candidate';
-import { WebRTCSDP } from './webrtc-sdp';
-export interface AccountTextMessage {
+export interface AccountTextMessage<T> {
from: string;
to: string;
- message: WebRTCIceCandidate | WebRTCSDP;
+ message: T;
}