Skip to content

Commit 9dea687

Browse files
Erika Perugachinot-gabriel
authored andcommitted
Email (#364)
* Fix order emails when I receive new email. * Update usernameRegex * Update version 0.9.0
1 parent ed2072a commit 9dea687

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

electron_app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "criptext",
3-
"version": "0.8.2",
3+
"version": "0.9.0",
44
"author": {
55
"name": "Criptext Inc.",
66
"email": "[email protected]",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const usernameRegex = /^[a-z][a-z0-9._-]*[a-z0-9]+$/;
1+
export const usernameRegex = /(?=^([a-z0-9]([._-]{0,2}[a-z0-9])+)$)(?:^.{3,64}$)/;

email_mailbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "email_mailbox",
3-
"version": "0.8.2",
3+
"version": "0.9.0",
44
"private": true,
55
"dependencies": {
66
"animejs": "^2.2.0",

email_mailbox/src/components/PanelWrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class PanelWrapper extends Component {
138138
if (isNewEmailInMailbox && isRenderingMailbox) {
139139
props.onLoadThreads({
140140
labelId: Number(currentLabelId),
141-
limit: props.threadsCount + 1
141+
clear: true
142142
});
143143
}
144144
if (isRenderingThread) {

0 commit comments

Comments
 (0)