/// <summary> /// Loads as many tweets as possible from the database, and if they are missing /// requests them from the service. /// </summary> void ProcessConversation(Tweet previous) { convSection.Add(new TweetElement(previous)); while (previous != null && previous.InReplyToStatus != 0) { var lookup = Tweet.FromId(previous.InReplyToStatus); if (lookup == null) { QueryServer(previous.InReplyToStatus); return; } else { convSection.Add(new TweetElement(lookup)); } previous = lookup; } EndConversation(); }