import * as types from './actionsTypes';
export function subscribeRoom(rid) {
return {
type: types.ROOM.SUBSCRIBE,
rid
};
}
export function unsubscribeRoom(rid) {
type: types.ROOM.UNSUBSCRIBE,
export function leaveRoom(rid, t) {
type: types.ROOM.LEAVE,
rid,
t
export function deleteRoom(rid, t) {
type: types.ROOM.DELETE,
export function closeRoom(rid) {
type: types.ROOM.CLOSE,
export function forwardRoom(rid, transferData) {
type: types.ROOM.FORWARD,
transferData,
export function removedRoom() {
type: types.ROOM.REMOVED
export function userTyping(rid, status = true) {
type: types.ROOM.USER_TYPING,
status