~singpolyma/snikket-react

9717648c2e60abd81f50851d25ac2ee1691d1f5e — Stephen Paul Weber 6 days ago 130757d
Option to add as trusted contact any untrusted chat that is open
1 files changed, 8 insertions(+), 0 deletions(-)

M src/components/Chat.tsx
M src/components/Chat.tsx => src/components/Chat.tsx +8 -0
@@ 1029,6 1029,14 @@ export const Chat = ({ persistence }: { persistence: any }) => {
						/>
						{activeConversation && (
							<ConversationHeader.Actions>
								{!activeConversation.data.chat.isTrusted() && (
									<AddUserButton
										onClick={(e) => {
											activeConversation.data.chat.setTrusted(true);
											activeConversation.data.chat.bookmark();
										}}
									/>
								)}
								{activeConversation.data.chat.dtmf() && (
									<Button
										icon={