Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CreateChat dialog: Trim the input value to fix #3299 #3300

Merged
merged 9 commits into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

### Fixed
- fix: clicking start on an already open webxdc app now opens it again even when it was minimised #3294
- fix: whitespaces are now removed from Email address when creating a contacts from the Create Chat dialog(#3299)

<a id="1_38_1"></a>

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/dialogs/CreateChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ export function AddMemberInnerDialog({

const contactId = await BackendRemote.rpc.createContact(
accountId,
queryStr,
queryStr.trim(),
null
)
const contact = await BackendRemote.rpc.getContact(accountId, contactId)
Expand Down