keybase / keybase/client

Uploader can't see attached files when using chat API

Open
#10,174 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

I run this:

```
echo '{"method": "attach", "params": {"version": 1, "options": {"channel": {"name": "", "members_type": "team", "topic_name": "general"}, "filename": "/keybase/team//gifs/this_guy.jpg", "title": "TEST"}}}' | keybase chat api
```

My teammates see the first, I see the second. Reproduced in reverse too, where they were the uploader and I could not see.

![screenshot_2](https://user-images.githubusercontent.com/1053894/34847078-367274ec-f6e8-11e7-8ef5-5dd123b09bcf.png)
![screenshot at 2018-01-11 15 42 25](https://user-images.githubusercontent.com/1053894/34847079-36825c0e-f6e8-11e7-9d32-e1fb65474ec7.png)

my log id: ba837bedf33cd5e3ac0bed1c

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `keybase chat api` entry point and the `attach` method using the reproduction command in the issue. Compare visibility for the uploader and teammates, then trace the attachment handling until the failure is located. Done means all channel members can see files uploaded through the chat API.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.