Permalink
Browse files

viewdate bug fixed

  • Loading branch information...
Firethunder committed Jul 9, 2012
1 parent 7eb0745 commit 642f0b501f6cc132fd65547d274c80f4841d0e2b
Showing with 1 addition and 2 deletions.
  1. +0 −1 API/Model/Answer/MyListEntryAddedAnswer.cs
  2. +1 −1 Glue.cs
@@ -10,7 +10,6 @@ class MyListEntryAddedAnswer : PipedApiAnswer
public MyListEntryAddedAnswer(ReturnCode rc, String data)
: base(rc, data)
{
- set("viewed", 1);
}
public int MyListId
View
@@ -122,7 +122,7 @@ public void run()
//If state is set, send request to update the list on anidb
if (mainwin.getAdd() != null && mainwin.getAdd() != false)
{
- conn.query(new API.Model.Request.MyListAddRequest(hash.FileSize, hash.Ed2kHash, state: (API.Model.Request.MyListAddRequest.State)mainwin.getState() ,viewed:mainwin.getViewed(), viewdate:0, source:mainwin.getSource(), storage:mainwin.getStorage(), other:mainwin.getOther()));
+ conn.query(new API.Model.Request.MyListAddRequest(hash.FileSize, hash.Ed2kHash, state: (API.Model.Request.MyListAddRequest.State)mainwin.getState() ,viewed:mainwin.getViewed(), viewdate:null, source:mainwin.getSource(), storage:mainwin.getStorage(), other:mainwin.getOther()));
mainwin.lbLog_Add("Add to Mylist");
}
}

0 comments on commit 642f0b5

Please sign in to comment.