static void OnTimelineUpdated(object sender, TimelineUpdatedEventArgs args) { if (!Preferences.ShowNotifications) { return; } notifications.Notify(new TimelineNotification(args.Screenname, args.Status, args.Icon)); }
static void DirectMessageFound(object sender, TimelineUpdatedEventArgs args) { if (!Preferences.ShowDirectMessages) { return; } notifications.Notify(new DirectMessageNotification(args.Screenname, args.Status, args.Icon)); }