fix problem with difference between IRoom and IRoomModel
This commit is contained in:
parent
8192b391ea
commit
6a9f878d28
|
@ -84,7 +84,7 @@ export type ChatsStackParamList = {
|
||||||
};
|
};
|
||||||
AutoTranslateView: {
|
AutoTranslateView: {
|
||||||
rid: string;
|
rid: string;
|
||||||
room: IRoom;
|
room: TRoomModel;
|
||||||
};
|
};
|
||||||
DirectoryView: undefined;
|
DirectoryView: undefined;
|
||||||
NotificationPrefView: {
|
NotificationPrefView: {
|
||||||
|
|
|
@ -20,7 +20,7 @@ import SafeAreaView from '../../containers/SafeAreaView';
|
||||||
import getThreadName from '../../lib/methods/getThreadName';
|
import getThreadName from '../../lib/methods/getThreadName';
|
||||||
import styles from './styles';
|
import styles from './styles';
|
||||||
import { ChatsStackParamList } from '../../stacks/types';
|
import { ChatsStackParamList } from '../../stacks/types';
|
||||||
import { IRoom, RoomType } from '../../definitions/IRoom';
|
import { IRoom, RoomType, TRoomModel } from '../../definitions/IRoom';
|
||||||
|
|
||||||
interface IMessagesViewProps {
|
interface IMessagesViewProps {
|
||||||
user: {
|
user: {
|
||||||
|
@ -78,7 +78,7 @@ interface IParams {
|
||||||
name?: string;
|
name?: string;
|
||||||
fname?: string;
|
fname?: string;
|
||||||
prid?: string;
|
prid?: string;
|
||||||
room: IRoom;
|
room: TRoomModel;
|
||||||
jumpToMessageId?: string;
|
jumpToMessageId?: string;
|
||||||
jumpToThreadId?: string;
|
jumpToThreadId?: string;
|
||||||
roomUserId?: string;
|
roomUserId?: string;
|
||||||
|
|
Loading…
Reference in New Issue