Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
fix sede inlig #80
Browse files Browse the repository at this point in the history
  • Loading branch information
rschrieken committed Apr 24, 2015
1 parent 85f35ae commit aaf8edb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CVChatbot/CVChatbot.Bot/SEDEAccessor.cs
Expand Up @@ -85,7 +85,7 @@ public static void InvalidateCache()

var currentID = "";

if ((currentID = Client.GetSedeQueryRunUrl(236526)) != lastRevision)
if ((currentID = Client.GetSedeQueryRunUrl(236526)) != lastRevision || tags == null)
{
lastRevision = currentID;
tags = Client.GetTags(lastRevision);
Expand Down
2 changes: 1 addition & 1 deletion CVChatbot/CVChatbot.Bot/SedeClient.cs
Expand Up @@ -327,7 +327,7 @@ private static Stream PostStream(string url, string data)
private void SEOpenIDLogin(string email, string password)
{
// Do a Get to retrieve the cookies.
var start = Post("http://data.stackexchange.com/user/authenticate?returnurl=/", "openid_identifier=https%3A%2F%2Fopenid.stackexchange.com%2F");
var start = Post("http://data.stackexchange.com/user/authenticate?returnurl=/", "openid=https%3A%2F%2Fopenid.stackexchange.com%2F");

var html = CQ.Create(start);
// If we find no fkey or session in html.
Expand Down

1 comment on commit aaf8edb

@gunr2171
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be fine. I'll try it out tonight/tomorrow and merge in.

Please sign in to comment.