From 8290ec6ab2a431d359c083a6304013f713b36a45 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 12 Sep 2010 21:31:22 +0100 Subject: [PATCH] [repo] fix timestamps --- SparkleLib/SparkleRepo.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/SparkleLib/SparkleRepo.cs b/SparkleLib/SparkleRepo.cs index b9fa8c97..2b8afdb2 100644 --- a/SparkleLib/SparkleRepo.cs +++ b/SparkleLib/SparkleRepo.cs @@ -162,12 +162,13 @@ namespace SparkleLib { }; + // TODO: Change to OnTopicChange. The topic will contain the latest hash // Fetch changes when there is a message in the irc channel - Listener.Client.OnChannelMessage += delegate (object o, IrcEventArgs args) { + Listener.Client.OnChannelMessage += delegate (object o, IrcEventArgs args) { // TODO: TopicChangeEventArgs SparkleHelpers.DebugInfo ("Irc", "[" + Name + "] Was notified of a remote change."); - if (!args.Data.Message.Equals (CurrentHash)) { + if (!args.Data.Message.Equals (CurrentHash)) { //TODO: args.Data.NewTopic FetchRequests++; @@ -910,8 +911,6 @@ namespace SparkleLib { commits.Add (commit); - unix_timestamp = 0; - } return commits;