Closed
Bug 954932
Opened 11 years ago
Closed 11 years ago
Avoid attempting to connect accounts while offline, and disconnect connecting accounts when going offline
Categories
(Chat Core :: General, defect)
Chat Core
General
Tracking
(Not tracked)
RESOLVED
FIXED
1.2
People
(Reporter: aleth, Assigned: aleth)
References
Details
(Whiteboard: [1.2-wanted])
Attachments
(1 file, 2 obsolete files)
3.66 KB,
patch
|
florian
:
review+
|
Details | Diff | Splinter Review |
*** Original post on bio 1499 at 2012-06-08 23:01:00 UTC ***
*** Due to BzAPI limitations, the initial description is in comment 1 ***
Assignee | ||
Comment 1•11 years ago
|
||
*** Original post on bio 1499 as attmnt 1577 at 2012-06-08 23:01:00 UTC ***
This is separated out from bug 954930 (bio 1497) - the parts that do not induce behaviour changes.
- Throw an error when trying to connect a JS protocol while offline, matching the libpurple behaviour
- Disconnected the account properly when going offline while accounts are connecting.
- Cancel any reconnection timers when going offline.
Attachment #8353333 -
Flags: review?(florian)
Comment 2•11 years ago
|
||
*** Original post on bio 1499 at 2012-06-08 23:08:25 UTC ***
This seems ok, but I would like to look at it again tomorrow.
Whiteboard: [1.2-wanted]
Comment 3•11 years ago
|
||
*** Original post on bio 1499 at 2012-06-08 23:12:29 UTC ***
(In reply to comment #0)
> - Cancel any reconnection timers when going offline.
This will also reset the count of reconnection attempts, so that we start at 1s again the next time a connection of the account fails; even if there wasn't a timer running at the time we went offline.
Assignee | ||
Comment 4•11 years ago
|
||
*** Original post on bio 1499 as attmnt 1579 at 2012-06-08 23:19:00 UTC ***
Add back a Services.io.offline test that will be removed again by bug 954930 (bio 1497).
Attachment #8353335 -
Flags: review?(florian)
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8353333 [details] [diff] [review]
Patch
*** Original change on bio 1499 attmnt 1577 at 2012-06-08 23:19:05 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353333 -
Attachment is obsolete: true
Attachment #8353333 -
Flags: review?(florian)
Comment 6•11 years ago
|
||
Comment on attachment 8353335 [details] [diff] [review]
Patch
*** Original change on bio 1499 attmnt 1579 at 2012-06-10 20:26:46 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353335 -
Flags: review?(florian) → review+
Assignee | ||
Comment 7•11 years ago
|
||
*** Original post on bio 1499 as attmnt 1584 at 2012-06-10 20:41:00 UTC ***
Same patch, fixed line counts.
Attachment #8353341 -
Flags: review?(florian)
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8353335 [details] [diff] [review]
Patch
*** Original change on bio 1499 attmnt 1579 at 2012-06-10 20:41:28 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353335 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → aleth
Comment 9•11 years ago
|
||
Comment on attachment 8353341 [details] [diff] [review]
Patch
*** Original change on bio 1499 attmnt 1584 at 2012-06-10 20:44:42 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353341 -
Flags: review?(florian) → review+
Comment 10•11 years ago
|
||
*** Original post on bio 1499 at 2012-06-10 21:06:41 UTC ***
Checked in as http://hg.instantbird.org/instantbird/rev/6444fecdc522 Thanks for fixing this!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2
You need to log in
before you can comment on or make changes to this bug.
Description
•