~ubuntu-branches/ubuntu/saucy/geary/saucy-updates

« back to all changes in this revision

Viewing changes to src/engine/imap-engine/imap-engine-replay-queue.vala

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-03-14 13:48:23 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130314134823-gyk5av1g508zyj8a
Tags: 0.3.0~pr1-0ubuntu1
New upstream version (FFE lp: #1154316), supports multiple account as
well as full conversation views with inline replies

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        // in order), it's *vital* that even REMOTE_ONLY operations go through the local queue,
140
140
        // only being scheduled on the remote queue *after* local operations ahead of it have
141
141
        // completed; thus, no need for get_scope() to be called here.
142
 
        try {
143
 
            local_queue.send(op);
144
 
        } catch (Error err) {
145
 
            debug("Replay operation %s not scheduled on local queue %s: %s", op.to_string(),
146
 
                to_string(), err.message);
147
 
            
148
 
            return false;
149
 
        }
 
142
        local_queue.send(op);
150
143
        
151
144
        scheduled(op);
152
145
        
273
266
            }
274
267
            
275
268
            if (remote_enqueue) {
276
 
                try {
277
 
                    remote_queue.send(op);
278
 
                } catch (Error send_err) {
279
 
                    error("ReplayOperation %s not scheduled on remote queue %s: %s", op.to_string(),
280
 
                        to_string(), send_err.message);
281
 
                }
 
269
                remote_queue.send(op);
282
270
            } else {
283
271
                // all code paths to this point should have notified ready if not enqueuing for
284
272
                // next stage