GithubHelp home page GithubHelp logo

Comments (3)

snarfed avatar snarfed commented on June 10, 2024

Hrm. We have a test for updating a reply, so it's evidently not as simple as "updating replies doesn't work."

def test_update_reply(self):
self.make_followers()
Fake.fetchable['fake:post'] = {
'objectType': 'note',
'author': 'fake:bob',
}
reply_as1 = {
'id': 'fake:reply',
'objectType': 'note',
'inReplyTo': 'fake:post',
'author': 'fake:alice',
}
self.store_object(id='fake:reply', our_as1=reply_as1)
update_as1 = {
'id': 'fake:update',
'objectType': 'activity',
'verb': 'update',
'actor': 'fake:user',
'object': reply_as1,
}
self.assertEqual(('OK', 202), Fake.receive_as1(update_as1))
self.assert_object('fake:reply',
our_as1=reply_as1,
type='note',
)
obj = self.assert_object('fake:update',
status='complete',
our_as1=update_as1,
delivered=['fake:post:target'],
type='update',
users=[self.user.key, self.alice.key],
notify=[self.bob.key],
)
self.assertEqual([(obj.key.id(), 'fake:post:target')], Fake.sent)

from bridgy-fed.

snarfed avatar snarfed commented on June 10, 2024

Tried this again just now, still happening. It wrongly thinks the reply Object is unchanged.

from bridgy-fed.

snarfed avatar snarfed commented on June 10, 2024

Never mind, that turned out to be an issue on my web site with caching pages with emoji in their URLs. Bridgy Fed updating replies is actually working fine.

from bridgy-fed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.